<?php

use Illuminate\Routing\Router;

Admin::registerAuthRoutes();

Route::group([
    'prefix'        => config('admin.route.prefix'),
    'namespace'     => config('admin.route.namespace'),
    'middleware'    => config('admin.route.middleware'),
], function (Router $router) {

    $router->get('/', 'HomeController@index');
    $router->resource('footertab', FooterTabController::class);
    $router->resource('supqualifycate', SupQualifyCateController::class);
    $router->resource('secqualifycate', SecQualifycateController::class);
    $router->resource('dist', DistController::class);
    $router->resource('quota', QuotaController::class);
    $router->resource('user', UserController::class);
    $router->resource('company', CompanyController::class);
    $router->resource('voucher', VoucherController::class);
    $router->resource('feeitem', StaffFeeController::class);
    $router->resource('consult', ConsultController::class);
    $router->resource('level', LevelController::class);
    $router->resource('banner', BannerController::class);
    $router->resource('test', TestController::class);
    $router->resource('copmanycase', CompanyCaseController::class);
    $router->resource('copmanysatff', CompanyStaffController::class);
    $router->resource('news', NewsController::class);
    $router->resource('tags', TagController::class);
    $router->resource('policy', PolicyController::class);
    $router->resource('thirdurl', ThirdUrlController::class);
    $router->resource('urltag', UrlTagController::class);

});
